package com.bub.pay.core.entity.vo.order;

import com.bub.pay.framework.common.base.BaseVo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;
import java.math.BigDecimal;

/**
 * 充值订单
 * @author wing
 */
@Getter
@Setter
public class RechargeOrderVO extends BaseVo {
    /**
     * 商户id 或 分销商id
     */
    private Long extendId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 订单金额
     */
    private BigDecimal orderAmount;

    /**
     * 支付方式写死EBANK
     */
    private String payType = "EBANK";

    /**
     * 支付银行code
     */
    @NotBlank(message = "请选择银行")
    private String bankCode;

    /**
     * 银行名称
     */
    @NotBlank(message = "请选择银行")
    private String bankName;

    /**
     * 订单IP
     */
    private String orderIp;

    /**
     * 奖励bub数量
     */
    private BigDecimal rewardNum;

    /**
     * 充值订单类型(1=分销商,2=合作商户)
     */
    private Integer type;

    /**
     * 备注
     */
    private String remarks;
}
